package com.log4j.main.study;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class Log4JDemo {
	
	private static final Log log = LogFactory.getLog(Log4JDemo.class);

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		log.info("This is info");
		log.debug("This is debug");
		log.warn("This is warn");
		log.error("This is error");
		log.fatal("This is fatal");
	}
}
